<%@ page language="java" import="java.util.*"
	contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="sx" uri="/struts-dojo-tags"%>
<%@ taglib uri="/LuxuryTag" prefix="TreeNodeTag" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<HTML>
	<HEAD>
		<TITLE>菜单</TITLE>
		<base target="mainFrame">
		<sx:head />
		<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
		<style> <!-- 目前 不起作用 -->
			.treeNodeFont {
				font-size: 19pt;
				color: white;
				cursor: text;
			}
		</style>

		<script language="JavaScript" type="text/javascript">
		    window.onload=function(){
			    var nodes = dojo.widget.manager.getWidgetsByType('struts:StrutsTreeNode');
			    nodes[0].expand(); // markSelected()
			}

			function openInFrame( url ) {
				alert( 'openInFrame()' );
				window.open( url , "mainFrame" );
			}


		</script>
	</HEAD>


	<BODY bgcolor="#8ca5ce">
        <div id="displayIt">&nbsp;</div>

		<div style="float: left; margin-right: 50px; ">
			<sx:tree label="功能菜单" templateCssPath="/struts/tree.css"
				showRootGrid="true" showGrid="true" treeSelectedTopic="treeSelected" cssClass="treeNodeFont">

				<sx:treenode label="参数设置" cssClass="treeNodeFont">
					<TreeNodeTag:TreeNodeTag id = "buyInId"   url="/SSICrud/under-construction.html"   title="编码类别表" />
					<TreeNodeTag:TreeNodeTag id = "buyInId"   url="/SSICrud/under-construction.html"   title="编码表" />
					<TreeNodeTag:TreeNodeTag id = "buyInId"   url="/SSICrud/under-construction.html" title="商品类别" />
				</sx:treenode>

				<sx:treenode label="基础信息" cssClass="treeNodeFont">
					<TreeNodeTag:TreeNodeTag id = "buyInId"   url="/SSICrud/queryAllSupp"   title="供应商" />
					<TreeNodeTag:TreeNodeTag id = "buyInId"   url="/SSICrud/queryAllGood"   title="商品" />
					<TreeNodeTag:TreeNodeTag id = "buyInId"   url="/SSICrud/queryAllDealer" title="经销商" />
					<TreeNodeTag:TreeNodeTag id = "buyInId"   url="/SSICrud/queryAllWarehouse" title="仓库" />
				</sx:treenode>

				<sx:treenode label="业务管理" cssClass="treeNodeFont">
					<TreeNodeTag:TreeNodeTag id = "buyInId"   url="/SSICrud/queryAllBuyInMain?maintainMode=1"  title="进货入库单" />
					<TreeNodeTag:TreeNodeTag id = "buyInId"   url="/SSICrud/queryAllBuyBackMain"  title="进货退货单" />
					<TreeNodeTag:TreeNodeTag id = "buyInId"   url="/SSICrud/under-construction.html"   title="销售出库单" />
					<TreeNodeTag:TreeNodeTag id = "buyInId"   url="/SSICrud/under-construction.html"   title="销售退货单" />
					<TreeNodeTag:TreeNodeTag id = "buyInId"   url="/SSICrud/under-construction.html"   title="价格调整" />
				</sx:treenode>

				<sx:treenode label="业务往来" cssClass="treeNodeFont">
					<TreeNodeTag:TreeNodeTag id = "buyInId"   url="/SSICrud/queryAllBuyInMain?maintainMode=2"   title="进货入库结账" />
					<TreeNodeTag:TreeNodeTag id = "buyInId"   url="/SSICrud/under-construction.html"   title="进货退货结账" />
					<TreeNodeTag:TreeNodeTag id = "buyInId"   url="/SSICrud/under-construction.html"   title="销售出库结账" />
					<TreeNodeTag:TreeNodeTag id = "buyInId"   url="/SSICrud/under-construction.html"   title="销售退货结账" />

				</sx:treenode>

				<sx:treenode label="报表" cssClass="treeNodeFont">
					<TreeNodeTag:TreeNodeTag id = "buyInId"   url="/SSICrud/under-construction.html"   title="商品销售查询" />
					<TreeNodeTag:TreeNodeTag id = "buyInId"   url="/SSICrud/under-construction.html"   title="商品入库查询" />
					<TreeNodeTag:TreeNodeTag id = "buyInId"   url="/SSICrud/under-construction.html"   title="商品销售排行" />
					<TreeNodeTag:TreeNodeTag id = "buyInId"   url="/SSICrud/under-construction.html"   title="年销售分析" />
					<TreeNodeTag:TreeNodeTag id = "buyInId"   url="/SSICrud/under-construction.html"   title="财务统计" />
				</sx:treenode>

				<sx:treenode label="系统管理" cssClass="treeNodeFont">
					<TreeNodeTag:TreeNodeTag id = "buyInId"   url="/SSICrud/under-construction.html"   title="用户" />
					<TreeNodeTag:TreeNodeTag id = "buyInId"   url="/SSICrud/under-construction.html"   title="角色" />
					<TreeNodeTag:TreeNodeTag id = "buyInId"   url="/SSICrud/under-construction.html"   title="功能" />

				</sx:treenode>

				<sx:treenode label="关于" cssClass="treeNodeFont">
					<TreeNodeTag:TreeNodeTag id = "buyInId"   url="/SSICrud/under-construction.html"   title="远程接口说明" />
					<TreeNodeTag:TreeNodeTag id = "buyInId"   url="/SSICrud/under-construction.html"   title="帮助" />
					<TreeNodeTag:TreeNodeTag id = "buyInId"   url="/SSICrud/under-construction.html"   title="退出" />
				</sx:treenode>

			</sx:tree>
		</div>

	</BODY>
</HTML>
